You are here: 2D Windows and Controls > Controls > Wrap Panel
Wrap Panel
A Wrap Panel is similar to a Panel but does not have the Background, Border and Shadow properties but does automatically wrap controls placed on it into regular positions.
If you need the background properties of the Panel then create a Panel and place a Wrap Panel over it.
Create a Wrap Panel
Open the destination window to add the Control.
From the Toolbox, select the Control icon, move the pointer into the window and drag out the initial position and size for the control.
Access Wrap Panel properties
- If the Property Editor is not displayed, click on Ribbon > Home > Property Editor
- Click on the Control. The Properties for the control will appear in the Property Editor panel and allow changes to be made.
Wrap Panel Properties
- Name: Name of the control
- Alias: Alias of the control
- General
- Text: To control the wrapping order of controls placed in this Panel, select from the options;
- LeftToRight
- TopDown
- RightToLeft
- BottomUp
-
- Layout: Defines the layout parameters for the control
- X: X location in the window to place the control
- Y: Y location in the window to place the control
- Width: Width of the control
- Height: Height of the control
- Anchor: Controls which edge of the window the control is anchored to when the window is resized
Visual: The Visual category allows the user to configure the look and feel of the control.- Visible: Defaults to visible but untick if you wish this Control to be invisible